<template>
  <div>
    <span v-for="(item, index) in items" :key="index">
      <span style="color: red" v-if="item.isRequire">*</span
      ><span style="padding-left: 10px">{{ item.dimensionName }}</span>
    </span>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {
    let a = this.items;
  },
  props: {
    items: {
      type: Array,
      default: () => [],
    },
  },
};
</script>
<style scoped></style>
